package com.ruoyi.audit.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 审批对象 audit
 * 
 * @author ruoyi
 * @date 2025-07-08
 */
public class Audit extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审核表id */
    private Long id;

    /** 申请单id */
    @Excel(name = "申请单id")
    private Long applicationId;

    /** 审核人id */
    @Excel(name = "审核人id")
    private Long auditUserId;

    /** 审核状态 待我审核10 待他人审核20 已审核30 驳回40  */
    @Excel(name = "审核状态 待我审核10 待他人审核20 已审核30 驳回40 ")
    private String auditStatus;

    /** 审核次序 */
    @Excel(name = "审核次序")
    private Integer auditSort;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setApplicationId(Long applicationId) 
    {
        this.applicationId = applicationId;
    }

    public Long getApplicationId() 
    {
        return applicationId;
    }

    public void setAuditUserId(Long auditUserId) 
    {
        this.auditUserId = auditUserId;
    }

    public Long getAuditUserId() 
    {
        return auditUserId;
    }

    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }

    public void setAuditSort(Integer auditSort) 
    {
        this.auditSort = auditSort;
    }

    public Integer getAuditSort() 
    {
        return auditSort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("applicationId", getApplicationId())
            .append("auditUserId", getAuditUserId())
            .append("auditStatus", getAuditStatus())
            .append("auditSort", getAuditSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
